package com.fbs.wowo.userCollect.mapper;

import com.fbs.wowo.userCollect.entity.UserCollect;
import com.fbs.wowo.userCollect.entity.UserCollectListResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserCollectMapper {
    int deleteByPrimaryKey(@Param("userId") String userId, @Param("essayId") String essayId);

    int insert(UserCollect record);

    int insertSelective(UserCollect record);

    UserCollect selectByPrimaryKey(@Param("userId") String userId, @Param("essayId") String essayId);

    int updateByPrimaryKeySelective(UserCollect record);

    int updateByPrimaryKey(UserCollect record);

    List<UserCollectListResponse> findCollectListByUserId(String userId);

}